package org.example;

import org.example.config.redis.RedisComponent;
import org.example.config.redis.RedisUtils;

import javax.annotation.Resource;

/**
 * Hello world!
 *
 */
public class App 
{
    @Resource
    public RedisUtils redisUtils;
    @Resource
    private RedisComponent redisComponent;
    public String sss(){
        redisComponent.getMyContact("111");
        Object o = redisUtils.get("111");
        return (String) o;
    }
    public static void main( String[] args )
    {
        App app = new App();
        String sss = app.sss();
        System.out.println( sss );
    }
}
